package cn.iocoder.yudao.module.digital.service.cardchannel.model;

/**
 * Description:
 * Author: li
 * Date: 2024/3/6
 */
public class GetAccountResponseWrapper {
    private final Long apiRecordId;
    private final String responseData;

    private final GetAccountResponse response;
    private final boolean success;
    private final String errorMsg;

    public GetAccountResponseWrapper(Long apiRecordId, String responseData, GetAccountResponse response, boolean success, String errorMsg) {
        this.apiRecordId = apiRecordId;
        this.responseData = responseData;
        this.response = response;
        this.success = success;
        this.errorMsg = errorMsg;
    }

    public Long getApiRecordId() {
        return apiRecordId;
    }

    public String getResponseData() {
        return responseData;
    }

    public GetAccountResponse getResponse() {
        return response;
    }

    public boolean isSuccess() {
        return success;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("GetAccountResponseWrapper{");
        sb.append("apiRecordId=").append(apiRecordId);
        sb.append(", response=").append(response);
        sb.append(", success=").append(success);
        sb.append(", errorMsg='").append(errorMsg).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
